package text02;

public class Peroln {
    private int age ;

    public void setAge(int age) {
        if (age >150|| age<0) {
            System.out.println("年龄不合格");
        }else {
            this.age = age;
        }


    }
}
